/**
 * Created by Henry on 15/6/13.
 */
Ext.define('Admin.store.Base', {
    extend: 'Ext.data.Store',

    model: 'Ext.data.Model',
    pageSize: 18,
    autoLoad: true,
    buffered: true,
    remoteSort: true,
    remoteFilter: true,

    proxy: {
        type: 'rest',
        format: 'json',
        reader: {
            type: 'json',
            rootProperty: 'data',
            totalProperty: 'total'
        }
    }
});